package com.landinfo.service.mapper;

import com.landinfo.domain.*;
import com.landinfo.service.dto.DataTypeDTO;

import org.mapstruct.*;

/**
 * Mapper for the entity DataType and its DTO DataTypeDTO.
 */
@Mapper(componentModel = "spring", uses = {})
public interface DataTypeMapper extends EntityMapper <DataTypeDTO, DataType> {
    
    
    default DataType fromId(String id) {
        if (id == null) {
            return null;
        }
        DataType dataType = new DataType();
        dataType.setId(id);
        return dataType;
    }
}
